package com.cy.sc.dao;

import com.cy.sc.pojo.Staff;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface StaffDao {
    public boolean addStaff(Staff staff);
    public Staff getStaffById(long id);
    public List<Staff> getStaffAll();
}
